//
//  PlayListViewController.h
//  Mecca
//
//  Created by Ryan Enguero on 6/10/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@class PlaySongListViewController;
@protocol PlayListViewControllerDelegate <NSObject>

- (void)getPlaySongIndex:(int)idx;

@end

@interface PlayListViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, AVAudioPlayerDelegate, NSURLConnectionDelegate>
@property (strong, nonatomic) AVAudioPlayer *audioPlayer;
@property (strong, nonatomic) IBOutlet UITableView *tableView;

@property (nonatomic, assign) id <PlayListViewControllerDelegate> delegate;

@property (strong, nonatomic) PlaySongListViewController *playSongListView;

@property (strong, nonatomic) NSMutableData *receivedData;

@property (strong, nonatomic) NSURLConnection *theConnection;


- (IBAction)userProfileAction:(id)sender;




@end
